﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Model.ywxt.ProjectBuyRecord
{
    /// <summary>
    /// 项目招标文件记录
    /// </summary>
    public class ProjectDocument
    {
        /// <summary>
        /// 文档ID
        /// </summary>
        public virtual string doc_id { get; set; }

        /// <summary>
        /// 文档标题名称
        /// </summary>
        public virtual string doc_name { get; set; }

        /// <summary>
        /// 所属项目
        /// </summary>
        public virtual t_project project { get; set; }

        /// <summary>
        /// 标书售价
        /// </summary>
        public virtual decimal doc_price { get; set; }

        /// <summary>
        /// 报名费
        /// </summary>
        public virtual decimal doc_bmf { get; set; }

        /// <summary>
        /// 图纸押金
        /// </summary>
        public virtual decimal doc_tzyj { get; set; }

        /// <summary>
        /// 其他
        /// </summary>
        public virtual decimal doc_qt { get; set; }

        /// <summary>
        /// 其他费用描述
        /// </summary>
        public virtual string doc_qt_describe { get; set; }

        /// <summary>
        /// 是否有效标志
        /// </summary>
        public virtual int is_valid { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public virtual DateTime create_date { get; set; }

        /// <summary>
        /// 标书发售开始时间
        /// </summary>
        public virtual DateTime bgn_date { get; set; }

        /// <summary>
        /// 标书发售结束时间
        /// </summary>
        public virtual DateTime end_date { get; set; }

        /// <summary>
        /// 购买记录
        /// </summary>
        public virtual IList<ProjectDocumentBuyRecord> BuyRecords { get; set; }

        public ProjectDocument()
        {
            BuyRecords = new List<ProjectDocumentBuyRecord>();
        }
    }
}
